test/doc: add remaining changes for asynclistener