TST: restore a test that uses slogdet now that we have dropped support for older numpy versions
Merge pull request #4311 from argriffing/use-numpy-slogdet

TST: restore a test that uses slogdet now that we have dropped support for older numpy versions