Testing a reversible DC motordrive