Add tests for category admin messages, and fix existing tests