fix tests with new proxy_ref