Test error propagation with covariance matrix