Testing async viability and event emitter testing