tests: RelativePathResolver test improved, Events: removed Nette\Object dependency