Longer timeout and better assertion messages.

This test fails regularly under load. 10s may not be enough on a busy
machine.
Usually the `assert` message indicates what is wrong, not was supposed to be right.