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

- update the documentation for the getModulus function
- improve the unit test : check the modulus for certificate and clientKey (from createCertificate) are the same.

Thanks for merging my previous commit :)