use min/max instead of abs. also put this code inside the codeCoverageIgnore block because it cannot be tested with phpunit