added testing for a slider