Refactor to use BrewCli for stubbing. Fix missaves of specs.