added io tests