chore(jshint): fixed some errors in test/index.js