test for insert