Made pre_process a pass method in layer base class; most layers don't need this
Table of contents layer is smarter now, refactored tests to use node building code