added test for clone