adding a test for classes without a copy constructor