Verify replication.getDocIds() returns correct val

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