fix a lot tests
add travis badge