TST: Make sparse test more strict
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff`

sure!

btw. if you need these merged in a particular order, lmk.
 Pls merge this PR prior to #12787. I'll rebase #12787 once.
 ty!
