[PATCH v5 5/5] test: env: add test for env info sub-command