Add tests for invalid pointer to toc in <spine>