returning correct exit code for multiple executed tests - actually only for phantomjs