[FIX] test_db_cursor: explicitely close the cursor (without relying on __del__).