Fixing Closing MediaPlayer issue on Mac
+ Adding test to close MediaPlayer