Title: Design and Construction of a Machine for Testing Commutators and Brushes. a Thesis