[vcloud_director] Add tests for task model.
Merge pull request #2200 from nosborn/vcloud_director_task_tests

[vcloud_director] Add tests for task model.