fix(tests): correctly return the exit code
Merge pull request #2954 from denis-sokolov/test-return-code

fix(tests): correctly return the exit code