TST: More old issues
- [x] closes #18561
- [x] closes #22060
- [x] closes #22449
- [x] closes #22512
- [x] closes #22719
- [x] closes #23542
- [x] closes #26859
- [x] closes #28697
- [x] closes #28928
- [x] closes #29687
- [x] closes #30263
- [x] closes #29699
- [x] closes #31861
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
