use travis for testing, fix tests