HMM test prediction