* fix: unit test not returning error when test fails * chore: add unit test to smoketest.yml * fix: make linter happy