Made more testing methods package private
Fixed minor issue in ReplicaManagerTest