IO tests optimization