added knowledge base tests