Test for io.resource
Merge pull request #43 from bmjames/resource

Add a test for io.resource