adding test index.js