Add a small unit test for the frontend.

Hey,

I ran some coverage with the tests and saw that the views code had very little coverage, so I thought I'd add a  test for the frontend. This is mostly just a skeleton, the next steps will be to add test cases for each path and flesh out the ones that have been implemented. I may not get a chance to work on this more until after the holidays, so I'm sending this small piece out now :)

Thanks!
Melanie