added one unit test for cart.