How do doctors test for ibs