MDL-45256 portfolio: Adding missing global in testcase