Added Travis CI + Written tests