TST: Add test for setting with loc on DataFrame with one row
- [X] closes #15494
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Issue appears to be have been fixed for a while, since 0.21.x at least, just added a test to ensure there's no regression.
  