The tests pass fine if we wait for 7 seconds instead of 5.