Issue 329: Fix non-deterministic unit tests

I'm sure there are others, but I've tried to fix the ones reported in https://github.com/Netflix/RxJava/issues/329