updated and cleaned up test for dens