Added tests (unit and functional), and Travis configuration
Merge pull request #6 from miniche/dev-tests

Added tests (unit and functional), and Travis configuration