Exit `gulp mocha` with error if mocha tests failed.
Fix a floating-point rounding bug caused by `setRawValue`.