unit tests for Slide class