Linearity Testing in Time-Varying Smooth Transition Autoregressive Models under Unknown Degree of Persistency