Issue #135 - add failing unit test that detects this issue.

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