testing hmmTrain