IBS is a functional disease. A functional disease is an illness that occurs despite there being no apparant physical abnormality. An IBS diagnosis is usually a process of excluding more serious ailments. Here are some of the testst that need to be done to arrive at a proper IBS diagnosis.
You should be adamant about all these tests. Do not accept them telling you one is not needed. Endoscopy tests cannot be done by a General Practitioner or a Family Doctor - or at least they shouldn't be! They are usually done at a gastroenterology center or a hospital by a trained Gastroenterologist. Ultrasound tests may vary, I had mine done at a hospital with an ultrasound technician.