Fixed tests, added travis config