testing hmm