Remove duplication from ProductFormTest case