test slider with database