testHeaders() passes

https://github.com/couchbase/couchbase-lite-android/issues/398
testPushReplicationNonRecoverableError() passes

https://github.com/couchbase/couchbase-lite-android/issues/398