new unit test for recursive upvalues transfer