get_route test and function