Increase test coverage and extract install command into Brewdler::Commands::Install