test: Print error string on failures
Add support for multiple cursors/iterators