cart tests: remove unnecessary operation