unit tests for evaluation function of an hmm