Wrote test function for parse_field()