Similar situation to PR149, testGetTopTermsRandom3 and testGetTopTermsRandom5 will express non-deterministic behavior due to the nature of HashMap.