Fixes failing test for insert