Implement test for View. Related to #5