Adds tests for CarouselItem factory.