Added tests, travis config