Crude implementation of adding Resources to a Context.
Hacks for a simple integration test with a FileResource.