A Class of Tests for Integration and Cointegration