Releasing v3.2

* Added tests to test various use cases
* Added .travis.yml for travis integration