Add missing code to fix hung sector testing test code