changed test set to include else branch vardecl
improved insertField to find parent class automatically
now changed more function to use traverse to get more control over
visiting strategy