Added Shanachan.
Abstracted duplicate testing code into a common header.
Typos.
Added final page and thread page functions.
Modified unit tests to use new common header.
Added printing versions of the unit tests to make it easier to add new ones.