Fixes #192 Allow loadResources to accept ResourceInterface objects

Can you mock the interface instead?