finalize the test_copy in test_spectrum.py