Adjusted test script for new flags.
Shortened --extra setting.
Added quotation marks to printed command for target, extra and sender in unit testing.