Cleaned up if statement in main.py, added test reference to example11_toc_test.tex and test_toc.py