Adding cli testing and Travis CI config.