Updating Unit Tests

Unfortunately, finite precision in PHP means that the tests can’t
produce the exact result required. So, the rounded results have been
added to the tests.