added tests
added travisfile