cart tests: remove hooks and markers from template