Fix LongHash.grow and beef-up tests.