There are breath tests.
For lactose, sucrose, fructose and one other I can't remember.

I had to pay for 3 out of my 4 tests. $60 each but I did find out the reason for my IBS. I am fructose (fruit sugar) intolerant.

Oh and my GP ordered them. But had to go through the women's and children's hospital for them.