Goodness‐of‐fit Tests for Semi‐Markov and Markov Survival Models with One Intermediate State