returns test result from nake as exit code