Another unit test for the alternative density computation.