TST: add test to check dtype after replacing values in categorical Series inplace
- [x] closes #53358

- added a test in order to check if the `dtype` is being updated, when we replace values in a categorical Series with `inplace=True`.
@mroeschke, I added a test to check if the `dtype` is being updated, when we replace values in a categorical Series `inplace`. Could you please take a look at my pr? Thanks @natmokval 