add copy constructor tests