More refactoring of ProductStats unit tests.