TST: For GH4861, Period and datetime in multiindex
- [X] closes #4861
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry (only test added)
