a test for clearing the cart