Clean up replication unit tests.