fix test for smart insert