update tests to handle hash randomization

This should cover everything, but I'm going to release 0.0003 regardless, as
it incorporates some important enhancements.  Fixing the tests for hash
randomization is important, but not enough to delay this release.
0.0003