add unit test for shopping cart model