Testing for non-causality using the autoregressive metric