Add tests for Category class

Bug: T78231
Change-Id: I8cf1b912412be3963b631e2d89462ab7c33463f8