Refactoring tests.
Fix ComplexClassInClass.