Detecting hidden periodicities for models with cyclical errors