Fixed test from CLI for Travis; added travis.yml