Using a hard-coded time.sleep in the tests is usually confusing and brittle. For example, the one in break_wait_test:
- Is confusing, because it does not explain why it is needed.
- On fast hardware will just lead to a useless delay.
- On slow hardware may lead to an intermittent, and confusing test failure.
Fix all issues by replacing it with the proper condition to wait on.