s/new_dict/newDict, and fix test