added non-zero status codes for 'fails'