Add assert.async for plugin test.

assert.async is a shorthand for the try-catch cluase of
asynchronous tests.