add tests for clone()