add tests. fixes #1
provide some tips
update travis badge