Don't modify arguments in syncer

Definitely not good practice to modify arguments directly. Better to clone them before interacting with them.
Update tests to reflect cloned options
Oops, forgot to remove one argument in the test.
Don't need to change argument name.
Merge pull request #309 from jeromegn/patch-2

Don't modify arguments in syncer