compare density in test cases