Tests and diagnosis discussion for Gallstones: Many gallstones, especially silent stones, are discovered by accident during tests for other problems. But when gallstones are suspected to be the cause of symptoms, the doctor is likely to do an ultrasound exam. Ultrasound uses sound waves to create images of organs.