MediaManager unit tests