Add a test for cmd_toggle_diffs.
Add test for cmd_mark_diff.