bug fix in test case.