[ndctl PATCH v3 4/6] ndctl/test: add a new unit test for inject-error