Systematic Function Test Method of Motor Controller Using Classification-tree Method and State Transition Test Method