added testing for duplicate products