Throrough testing

Posted by deepakjois:

deepakjois commented :

I have ported over 3 integration tests from Go in 98e9f56bb65a2d95da70bcbda62252e9d53680ff

It seems sufficient for now. I will close this issue, and move on to other minor fixes and Travis integration.

manishrjain commented :

Nice work!