Debugging HMM_IO for test cases