added tests for spectrum and setColorScheme