expense of bacteria testing can be deductible even though expenditures do not themselves generate revenue