added detune test, needs to be fixed