got unit tests for asynchronous i/o working