Markov test