Entropy testing for nonlinear serial dependence in time series