Add snippet for async test