routing: fixed controller root path not found bug
routing: remove alternate ends with slash/ match route
unittest: add app test case