Add front page

I've added the asserts to the test. Ready for review again.