Update index.js

Removed unused test variables