[PATCH v3 7/7] test: cmd: fru: add unit test for the fru command