Fix nonce not being sent
Merge pull request #2 from sunnyratilal/unit-tests

Fix nonce not being sent