test: change replication test to use unix domain socket