Fixing test cases: Actual results changed because optimizer.json dependencies are added before those found in inspected source