TST: tests for needs-test issues
- [x] closes #5798
- [x] closes #6795
- [x] closes #9752
- [x] closes #11220
- [x] closes #13000
- [x] closes #15286
- [x] closes #17198
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

ping Thanks @jbrockmendel great work on this thanks @jbrockmendel if you can parameterize as indicated would be great