added some tests and changed testable midi object