Added tests for proxies.js