Use absolute tolerance for unit test number comparison

relative tolerance is hard to do with an expected value of 0