Adding unit tests for the RouteManager
Refactoring, PHPDoc