start tests and solved toc bug