add travis and correct unitTests