Added nosetests for cli calls