unit tests for composite event listener.