When run locally there are various test failures relating to the change in the book renderer to add a cover and table of contents.
Let's fix them.
Acceptance criteria
- Fix/update tests for table of contents generation. Instead of testing the output of the HTML inside the template we will test the result of getBookTemplateData