added testing for routes