More tests around FileResource.