refine testing dynamic proxy classes