Added basic tests for views.