Add tests for request filter