Add allSettled to framework. Add tests