Make cartUpdates testable #124.
Fix integration test.