image-slider using unit test