update some tests for async api