add test to detect node types is not declared in options.
implement function to detect keys contained in DefinitionsContainer
add test to detect option node is valid