[PATCH 3/7] lnst.Tests.TestPMD: encode commands to testpmd