Added exception testing for check_status