Working on TestYamlNode. Random fixes. Started using Mockito in tests.