A stationarity test on Markov chain models based on marginal distribution