Added LayeredDistributionTestCase.

Added basic layered distribution integraion test case to test layered distribution feature.