I characterize the local power of an optimal test for a Markov Switching model under generalized alternatives. The result shows that the test still has power for the model with endogenous stochastic parameters unless they are orthogonal to the score functions.