add several new tests into read me, improve jsdoc