Generalization of Hewitt's Seasonality Test