Added when_all().then() tests.