fix category tests