Test cases for routing helper.