tests: fixed using of quick_exit
Merge pull request #444 from euroelessar/master

tests: fixed using of quick_exit