MediaService Tests

Unit tests for the media service