TST: Check error raised when inserting wrong length categorical column
- [x] closes #9374
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
