Added basic unit testing, travis-ci