Fix test bug 1821:

https://github.com/WindowsAzure/azure-sdk-tools/issues/1821