Testing TOC generator