Add test for clone method.