Added expect() call to asyncTest() functions.

Part of issue #52.