add a test for async device creation