Fixed autoloader registration for tests if phpunit is installed as package together with Twig