Testing for Stationarity and Cointegration in an Unobserved Components Framework