added unittest for CursorWrapper __del__
extra customization for cursors

Cursors will not be automatically regenerated if put into a transaction
with begin. S