fix unit test failures due to media service upgrade.