Change unit test for H-matrix to be positive definite

Necessary as due to bugfix related to covariances now the problem is detected for the first time