Added some tests for the View