Yeah, definately have the procedure. I have had both, but I was put to sleep. Because they also went in through my throat too. I lost 16 pounds from the procedure (because they clean you out while they are in there) and it took four years to gain it back.
But besides that great plus, this will rule out a lot of serious problems. It could be ibs which is very easily treatable.
As for the endometriosis it could very well be. Depending on the severity of the disease and where the tissue is growing it can be very hard or impossible to have children, but if you get the tissue cut out it will increase fertility greatly. Chances of miscarrying are also greater, but if you are meant to have children, you will. That is the way I see it. But anyway, back to your original question. Go to the test! It cant hurt. You will have gas afterwards and this is because they pump you full of tons of air in order to expand intestines to see better.