added travis badge, more tests, fixed bugs while parsing the tee command