added travis and unit tests