fix test put with no key