Can check if an item is already in the cart (only unit test)