Improve error messages for a sporadic test failure.

Use JUnit's fuzzy double equality rather than our own ad hoc implementation.