rename field, add more tests for enums, fix bug with adding enumConstant to then set name etc.