More brew module unit tests
pylint fixes
Merge pull request #10983 from rallytime/brew_test

More brew module unit tests