litle refactoring of test/smoke.js
spell fix
remove unused code
Merge pull request #19 from yarikos/master

litle refactoring of test/smoke.js