fix test issue with existing keys #19