Add test for adding a field.