Fix routes.php including for PHP Unit testing

Running tests with PHPUnit causes to include multiple times the routes.php, causing errors if there are functions declared in it