Add unittest for ShoppingCart