Added tests for the views.