Add a test for cmd_toggle_pause.