Relating testimonials to Products
It works the same way related entries, (and all other elements) work.

So assuming you are on the products page, and have the product variable this should work:

{% set relatedTestimonials = craft.entries.section('testimonials').relatedTo(product) %}

{% for testimonial in relatedTestimonials %}
  {{ testimonial.title }}
{% endfor %}