Recurrent miscarriage testing?

Rachel • Two angel babies in heaven ❤️❤️, Rainbow baby boy born September 2017 💙🌈
I'm looking for others to share their stories with me to help me make a decision. 
After 6 months ttc last year, I became pregnant which ended in m/c at 10 weeks. I became pregnant immediately after a d&c and unfortunately lost that baby too at 5 weeks. Since then I have had 1 normal period (35 day cycle, which is normal for me) and now just finished a 40 day cycle, which felt a little off. My question is, should we just continue trying? Or should we get some testing done? I guess I don't know what tests can be done and I guess I'm scared of the outcome. I'm scared to be told that something is wrong. So I'm looking for others who have gone through similar situations and what you've done.