added test for rest routers