Add a view unit test.