Tests for the view class.