Add tests of basic hmm functions for RIL