From https://github.com/thesofproject/sof-test/pull/369 and https://github.com/thesofproject/sof-test/pull/367 I see we may need to have some unit test for our lib. If we do not cover all the fail cases in our lib, the test case may get into exception or give false success or false fail.