Refs #8958 Unit test now checks for special values

The unit test now looks for a NAN or INF in one of the tests. This means that the test will still pass if a platform outputs a different special value for divide by zero, as by all rights both NAN and INF are both valid results.