Fixing promises for async tests
build-5