test cases for dep structure