The event_manager.emit check is a bit of a hack: that's an implementation detail of encore, but I wanted to test that it at least run without error -- I am not really testing any behavior because I did not see a way of doing it without depending on encore implementation details.