add redefinition tests for java reflection proxy