Added a test case where the dictionary is not properly decoded