Add missing MIDI commands and test suite for GPIO and MIDI functions