test write replicas