fix insert/delete test