fix func categories in test