fixed bug in display-c-stmt, added some tests to test-c and test-pattern-matcher