Bugfixing invalid controller initialization from path info
Refactoring PHPUnit tests