Added some tests for the views