Add --watcher=polling option to Test command.

Closes #2099.
Updated to set the values in `init`.