Build allSettled method modeled on existing all method. Update tests.