Adding a test for the allowed methods filter