Update index.js

Disable proxy server when test is running.