Moved time delay to main function
Added tests for check_status