Fix intermittent test failure in ExtensionTest.testGetNonExistentDisposalMethod()