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