Add test code for the set methods of Category