TST: Retyping of categorical column with NaN
- [x] closes #43996 
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Thanks @SpoopyPillow 