This is not the way to test.
You just need to test if the events are dispatched instead of rewriting screen manager here.