Fix issue with test_equal of numbers equal 0
There was an error in the test_equal comparison that would return true when the second value was 0 (or close to 0) and the first value was not.
This was a bug I introduced with commit b270438f. I clearly misinterpreted how a conditional worked.