tests: Fixed errors on zero values
tests: Fixed errors on zero values

Tests using a ratio test blow up if the denominator is strictly zero. Fixed to use an arithmetic delta test if the denominator is below a certain threshold.  (It's all approximate, anyways.)
bskinn/opan,bskinn/opan