test/unit: seperate ReplicasetConfig spec from configure_replicaset()