The Nail for Fungus C/S with Fungus Stain (KOH) test is performed to detect the presence of a fungal infection in the nail. It is usually ordered when a person has signs and symptoms of a fungal nail infection, such as thickening, discoloration, and deformity of the nail.