Add unit tests & Travis CI