added index.js's test
removed export of extra functions
appended change to HISTORY.md
changed version 0.6.1