MUS-90: Bugfixes for Testcases, Added filename feature

Filename feature: a .midi extension will be removed if the user tries to
input for example "test.midi"