Brew unit tests done for now

Finished writing the remaining unit tests for the brew module - these are finished for now