added travis, fixed tests