add cursor-test
Merge pull request #1160 from ainame/add-cursor-test

add cursor-test