Update some test cases as Math.dll has been removed