Initial work on adding tests for the deploy task and added the --local
and --staging options.
Ongoing work on the deploy tests.