Fix MIDI tests