Added testing of replicaton
Added tests