refactored tests
added .travis.yml