added test for has-key returning false