Refactor ReplicationTest to reuse some code from RavenTestBase