add unit test for factory of breweries data