Add transient-mark-mode for tests