refactored async future test