added test case and module for sam to HMMoC format