tests for parse_field function