added TEST_MEDIA_INSTANCE