fixed new test and problem with hash_key and non-string keys