Resource file support. Add unit tests for ExternalResources methods