Joint testing of mortality and a non‐fatal outcome in clinical trials