Added unit testing for main.js carousel.