move test_spectral to tests/