Add test that allSettled is fulfilled only after all its constituent promises are fulfilled