Added functional tests for request listener