Fix spectrum test.