Testing the Number of Regimes in Markov Regime Switching Models