Actually, it's not really needed - in the test where the key is entirely missing, the charset is an empty hash, and there's already a guard for it. I'll change that.