Fixed unit tests after removing disable/enable replication workaround.