using new way of task mocking for edgegateway tests
Merge pull request #2347 from alphagov/task_mocking_for_edgegateway

[vcloud_director] changed edgeGateway tests to use task mocking