update tests to better more readable format
factor duplicate function
add travis ci #23
update tests
update tree tests #12
merge
fix merge issue
update makefile