Added some ResolverEventListener tests

* Also passed phpcs script