improve assert message in test case.