CParserTest refactoring, moved common checks to the test fixture