fixing async tests.