add travis and some tests