New functionally has been added for KnowledgeBaseAdapter. Unit tests have been extended.