added test for View