improving organisation of brew unit tests