Merge pull request #36501 from ruthra-kumar/fix_failing_gain_loss_unit_tests

fix(test): replace hardcoded reference to adv with dynamic one