[PATCH v17 2/3] programs/cmd: Add tests patch from @epo.