Added persist test for CategoryEntity