refactoring hooks and hook system
skip if no phpunit.xml found
show and filter fatal errors on phpunit