test cleanup
improved spectrum_sensor testing