added test for non-zero status code