Changed async test return type from void to Task.