add simple test case
add travis ci support