updated tests to reflect media.json changes