The term structure of interest rates is often modelled as a cointegrated system with the yield spreads forming the cointegrating vectors. Testing whether the yield spreads span the cointegration space is problematic because conventional tests on the cointegration vectors tend to overreject when the largest autoregressive roots deviate from unity, as is likely to be the case with interest rates. A new test that is robust w.r.t. deviations from the exact unit root assumption is developed and applied to monthly US interest rate data from 1952:1-1991:2. Taking into account the regime shift in 1979, the hypothesis of the yield spreads being the cointegrating vectors cannot be rejected using the robust test.