Testing Electrical Machines Thorough Inspections and Safety Checks