test for covariance_learn