INSERT unit-test block

More work on the INSERT unit-test block (almost completed i think)