Test and fix fetchMany, fix cursor enumeration