fix async-tests errors