Generate of ContextConf, ContextGroup and LayerInterface. + Tests