Update test.js
Merge pull request #4 from khilnani/master

Fixed test.js incorrect reference to "pos". Corrected to "./main"