Added tests for MidiReader

They start the thread, and I hate doing this, as I need to wait for a
artificial time.
Any other ideas are welcome.