added cursor_last
s/next/first/ in label for test for cursor.first
added test for cursor.last