Electromechanical testing machine