Testing Serial Independence via Density-Based Measures of Divergence