adding a test for 0 char in the key