Shopping cart controller implementation with unit tests & E2E tests