unit testing for ubuntu replication