fixing a bug with the dependency resolver, need to double check for a circular dependency that COULD happen.  New test case that describes what could happen