add test for validating dependencies set by views