Added tests for travis-ci

Added tests to be executed by travis-ci and an example test