Updated Motor Testing to include quit key command