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