Simple qiita pet tests

Adds a bunch of simple tests to make sure that pages render. Some pages and functions are not tested because there is no simple way to test them, but this covers almost all of them. 

Already found one issue using the tests and fixed it.
I can add the issue, but is the TODO needed?