check before and after as well
add travis configuration