Tests getEventListeners() method of console command line API.