add tests
add travis ci's badge