Add test case to cover the JmsMessageAvailableListener functionality.