tests for util/Proxy.js