[PATCH v6 6/6] mm/hmm/test: add self tests for HMM