covered with unit tests shopping cart