chagned the routes in the api tests