Prevent bytecode generation related test failures in tests that rely on PowerMock by updating to PowerMock 2.