index and test.js