fixing unit test for media app