Fix a check when buffer can be null
Explicit test for unsupported cursor with a single skip
Tests tests tests