Added tests for travis-ci