Define the test function as an asynchronous one.