Tests for parse/format