Add unit test for View class
update phpunit.xml.dist