added test for slider