TST: Add test for KeyError with MultiIndex
- [x] closes #25236
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

cc @jreback Added a test