Test that progress events are generated during loading of media resource.