add tests
add travis and coveralls