refactoring unit tests in MRBrewOperationTests