Add unit test for convert_json_to_dict