TST: require a positive semidefinite matrix for the trace/logdet/expm test