fixed StructureTest and CompatibilityTest