Test editor cursorPositionToCoordinates and coordinatesToCursorPosition API