Add test for reentrance from proxy.