initialize_route test and function