test next/previous button