Add tests for Knowledge module