add a test if a next callback is passed to a route