added test for media