Updated the tests according to the new structure of the Category object