Test to verify that this issue is not happening.

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