406 fix Cart tests

Wrote the remaining tests for Cart methods.