Add test code for removing items from a category