added a test to verify laziness of mongo cursor