test: use pend instead of async