Fix typo in test/index.js