added testing for routes option