make tests fully async

R=arv
BUG=

Review URL: https://codereview.appspot.com/37880046