added covariance matrix test case