Use waitsForPromise in ImageryLayerCollectionSpec.