Test adding static fields using structural class redefinition.