Deprecated $*2 functions, use non-2 versions. Added more select tests
Added tests for insert/update/delete, fixed a bug in delete
More tests, small code tweaks