make tests fully async

R=arv
BUG=

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