Fixed incorrect signature in TaskAwaiter<T>.GetResult and test modified.