Inspection test of tubing and casing