Add testInsert to query test.