tests for request listener