Testing after Multiple Miscarriages

Vi
Hoping for some comfort and positivity!!
I just had my second miscarriage and I also have a 2 year old (3 pregnancies) since this is the second MC in a row my Doctor said something about getting tested because they were concerned... Has anyone else been tested after multiple MC's and found out anything that actually helped them?