test_get_density_estimates now working