Test for io.resource