test with IO