fix tests
update DOC + ready for npm publish