Add event emitter tests.