Updated tests to reflect new dependency gathering