MDL-35332: Use fast hash when generating hashes during tests