fix 'test/index.js'