Fix a typo in test::needsRehash