added a test for the media plugin