Started work on tests for views

So Alja and Svetka will have something to do :)