Added replicaset tests