refactor aggregation of knowledge and get one more test step  working