Fix hash randomization-causing test failures.