Fixed test with unmockable HttpResponseMessage
Refactored CreateTask()