testing asynchronous input