Design of a harmonic drive test apparatus for data acquisition and control