Fixed test failures caused by no assertions and async event emitting, as well as simplified the returned promise.