Adapted MediaProxyExtensionTest to include event dispatcher.