Testing for residential autocorrelation in trend curve models by P.H.B.F. Franses