using correct proxy in LayerDescriptor, added tests