Fixed CompositeLayer unit test