TocItem class methods spec'ed.