update test case for executing two queries with public async API.