remove waitForBytesWritten for initial tests