MDL-39915 fix core_code_testcase regression

Thanks Dan!