set up routes and how to test them individually