Fixes #6298 and adds a sudo unit test for synchronize
Allow customizing integration run with env variables

Setting the variables, INVENTORY, or VARS_FILE, allows one to customize the
integration test run.  This allows customization without requiring code
changes.
Update test_synchronize assertions