DDF-82: Add tests for resource retrieval

Also refactored the Rest Endpoint tests, and switched it from log4j to
slf4j.