Fix categories test