Tests for the as-yet-unused Async.

I wrote this code as a demo, originally, and it's proved useful
(although I tend not to use it in the core libraries). As node is not
multi-threaded we can use the function counter quite happily without
worrying about what happens if multiple functions finish at once.