Added isInsertMode spec