Add test for mapping over a Cursor