mend one test, and add more
to_dict: verify 'action'