I mocked remove_duplicate_dependencies in the test.  I think I did it right!!