added test for /couchbase-lite-java-core/issues/188 to ReplicationTest.java
Merge pull request #293 from couchbase/feature/issue_188_java_core

fixes /couchbase-lite-java-core/issues/188