Test case for sanitizing match route action and helper.