In StoryboardViewControllerTests add testStoryboardViewControllerIPadCollectionViewDataSource and testStoryboardViewControllerIPhoneCollectionViewDataSource.
To make tests pass, in storyboards collectionView connect datasource.