Implement product classand add simple test