Fixes #288 - rework test

https://github.com/couchbase/couchbase-lite-android/issues/288