When using await we should catch WebException instead of AggregateException
Should test GetIndexAsync instead of GetIndex in the async test