Implemented and ran the miditest. Repaired small problems caused by different resource path.