Added LayeredDistributionTestCase.

Updated.