api test-cases for category accession
code formatting