Improved coverage of Media test class