Make the CollectionView test more robust.