Setting key to something unicode will make it fail

This test case will fail. Working on a fix now.