Add more tests for Inf and -Inf.

These tests follow the Perl 5 convention.  I'm not convinced of
its correctness.  I also changed two existing tests to conform.