Completed unit tests
Added travis-ci file