Add more tests for authorizer and filter