added test case to verify that we can dispatch to async handler