Tests like abdominal ultrasound, X-rays, CT scans, HIDA scans, and liver function blood tests are used. They help find gallstones, inflammation, or other problems.