Fix unit test case for free command with a sleap of HB interval.