Fixed unit tests to display output for the --extra and --sender flags.