Fix routes for test