Test case for route with regular expression.