Add tests for FieldsContainer