Tests: Fixed missing fabs() in denominator in check_for_equality()

Without the absolute value, the denominator might be negative and the check does not trigger.

Reported-by: Walter Mascarenhas