Bug testing of exit statuses