mock support for insert and cursors