Added tests for AsyncContext listeners behaviour.