Add unit test for InsertMode with counts.