Testing the Exit statuses