Fix test cases TestVerifyRunTimeValues and Defect_MAGN_520_DS

@Benglin  Please review it