New function to create the specified field type object. Tests updated.