remove double key in unit test dict