improve getModulus unit test
update doc for getModulus
Merge pull request #8 from polymorf/master

update README.md, and improve unit test for getModulus function