add test for associateProducts method