Move replicatype methods to ROTestUtils