improved async tests