Test the product class.