Can you do the wrong thing and still be right? Hypothesis testing in I(2) and near-I(2) cointegrated VARs