fixed test to make sure index.js is right