Add unittests for ChoiceField metadata.

Rename 'name' to 'display_name'.