Remove thread.sleep from unit test to speed it up

.. and apparently formatting and imports changed a bunch ...
Merge pull request #316 from benjchristensen/fix-slow-unit-test

Remove thread.sleep from unit test to speed it up
0.10.0-SNAPSHOT

The `onError(Exception)` to `onError(Throwable)` change is breaking so must bump from 0.9 to 0.10