[PATCH v22 1/2] programs/cmd: Add tests patch from @epo.