A test for truncation invariant dependence