remove unneeded code, integration test for insert and deletion