Minor tweaks to test, remove sleep etc.

https://github.com/couchbase/couchbase-lite-java-core/issues/257