fix tests
add travis configuration