Add test for multi-column dtype assignment
- [x] closes #27583
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Thanks @jackgoldsmith4 keep them coming!