fix tests, update travis config. close #1