added test for empty view dirs