added travis ci and tests