Fix test method names for assertNotDeprecated tests.