fixed proxy destruction
fixed two more tests