TST: add more regression testing related to https://github.com/numpy/numpy/issues/4733
Merge pull request #4748 from argriffing/more-linalg-regression-testing

TST: add more regression testing related to https://github.com/numpy/numpy/issues/4733