A GOODNESS OF FIT TEST FOR STATIONARY MARKOV PROCESSES