A gamma globulin test is used to test the amount of immunoglobins in the blood. Immunoglobins are also called immune gamma globulins. Immunoglobins are antibodies that are produced by the body in response to foreign substances such as bacteria, viruses, and cancerous cells.