Adding unit test to knowledgebase