Heading Change KPV tests written and threshold added to Settings.
find_toc_tod amended to handle None arguments to _slice