Fix unit test

Current max retry is 3 time. So existing codes try to replicate totally 4 times (1 initial + 3 retry).
Issue: https://github.com/couchbase/couchbase-lite-java-core/issues/299