tests added for AsFuture()