Removed simple test module (it's in core now) and fixed some small errors. API insert implementation is correct, but I can't get the unit test working