An employee was testing whether electricity was available at a valve on a piece of equipment that moved from side as it cut logs. After testing, he inserted an electric plug back into the valve. This caused the equipment to move to the side and then return to its home position. The employee was caught between a motor and a hydraulic tank and suffered an injury to the left shoulder and upper torso, resulting in three broken ribs.