Adds object insert and more tests.