add tests
add travis and coveralls badge
0.1.2