Added test cases for slide controller