add test for markovTable