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.
Why duplicating code instead of using the already in place decorator?