Updated tests to refer to categories using their id