fixing async test