Employee was testing the emergency hoist with an MSHA inspector when the hoist went down. After troubleshooting it was determined that a lightening arrestor had went bad. All employees were evacuated from the mine immediately and no persons were trapped or injured.