Updated ComplexTest and Updated IsFromType method.