Test case to detect issue #179

https://github.com/couchbase/couchbase-lite-android/issues/179
Fix issue #179