Test case for Router#resource sanitization.