add test for clone and copy constructor