return with real exit code of unit test

[qa] return with real exit code of unit test
Merge pull request #19 from d0b3rm4n/exit-code-change

return with real exit code of unit test