add test checking for route handler