[PATCH v3 4/4] test: cmd: add test for temperature command