Fixed copy constructor and code coverage