So I didn't look at the implementation but the test made it sound like it was testing recursion. I limited hash to the size needed to recur. Hashes aren't ordered in 1.8 so if the code is branching based on the contents of the hash and that's what you were testing with that giant string then it needs to be broken out into explicit tests for whatever those code branches are.