added a better test for insert