add test for dependent indices