Tests for Views with mocked Directory