test_Cursor: fix running on clang <= 3.0