Added dispatch for async testing