Add tests for category pages