Fix test failure wrt Math.sign