added tests for media files