Refactoring in InnerClassTest