Added test case for CompositeLayer