Minor unit test fix.
[BUG #7022] Added a changeCurrentIndex event to the carousel