Testing lumpability for marginal discrete hidden Markov models