Fix exception, travis.yml. Unit Tests