Release 2.1.
Fix a bug in cursors and tweak tests.