Test series replace different numpy int
- [✔ ] closes #45311
- [✔] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [✔] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [X] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

thanks @weikhor very nice.

would take a follow up PR extending this test to use the extension dtypes as well (as not sure if we have full test coverage here in a similar manner)