fixed a test case issue.
removed debug output code.