Added definition and simple test for format_parse.