Adding some tests and Travis CI (travis yml file)