No, you don't need a valid (non-expired) passport for your test / document verification / oath ceremony. They want to cross check that you were not out of the country for more time than you have claimed in your application. Therefore, carry all your passports, valid or expired with confidence.