Start to write unit test for extern gen.
unit test CoreExternGenerator.compareComplexType