Carousel.js 3.0: tests for loop mechanism looks like finished; fixed bugs by testing