Add test case for initializing category object