Add test cases for enum field. No changes necessary. Closes #12.