A Kineto-Elastodynamic Model of a Gear Testing Machine