Merge "Add tests for midi playback" into jb-dev