better example testing a Route function