added test for file replication