always return endcursor - fixes #288

I figured that was a better place for a unit test, so I added a test there to make sure it's always called with something.