Fixing tests on densities.
Fixed densities in test.