Ensures dependencies are marked correctly in image test_utils