unit test for domain model category added