Practicing writing unit tests on an image slider