Add testcase for sanitizing keys of hash.