first unit test and integration test

A quick test that the homepage works and that the login succeeds in three cases (failure, unconfirmed, and success).
This syntax is a bit different from the previous versions I've used, but reading about it, I kinda like where it's going. It has improved quite a bit.