tests for async blocks