Adding test case and fixing a assert_dict_lists_equal
Adding back the fix.