Test code for category page generation.