Adding the theory files and the tests for finalising the page.