Factor out replication tests
observers example of replication.