Add parser encode/decode test with long dash