fix Future.wait() example, add a test for it

BUG=10271
R=sethladd@google.com

Review URL: https://chromiumcodereview.appspot.com/19876003