revised test_dump_exclusions_dictionary