fix bug
add test case to cursor based list