More brew module unit tests

Wrote a few more tests for the brew module and some clarifications