An entropy based test for non-linear dependence in time series