test for async initialization