deduplicate dicts
run test