Added basic user model tests
Adds mainpagectrl tests
Adds main page view tests
Adds a few tests and automates cate login