Fixed unavailable console features on some browsers.
Fixed test failures caused by no assertions and async event emitting, as well as simplified the returned promise.